RoomConfig class Null safety

房间参数配置

Constructors

RoomConfig({RoomProfile profile = RoomProfile.communication, bool isAutoPublish = true, bool isAutoSubscribeAudio = true, bool isAutoSubscribeVideo = true, RemoteVideoConfig? remoteVideoConfig})

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
isAutoPublish ↔ bool
是否自动发布音视频流,默认为自动发布 [...]
read / write
isAutoSubscribeAudio ↔ bool
是否自动订阅音频流,默认为自动订阅
read / write
isAutoSubscribeVideo ↔ bool
是否自动订阅主视频流,默认为自动订阅
read / write
profile ↔ RoomProfile
房间模式,默认为普通音视频通话模式,进房后不可更改
read / write
remoteVideoConfig ↔ RemoteVideoConfig?
远端视频流参数
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited